package com.hhc.dto;

import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import java.time.LocalTime;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 考试安排数据传输对象
 * </p>
 * @author pc
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ExamArrangementDTO {

    private Long id;

    @NotNull(message = "课程ID不能为空")
    private Long courseId;

    @NotNull(message = "考试日期不能为空")
    private Date examDate;

    private LocalTime startTime;

    private LocalTime endTime;

    @Size(max = 200, message = "考试地点长度不能超过200")
    private String location;

    private String invigilatorIds;

    @Size(max = 50, message = "考试类型长度不能超过50")
    private String examType;

    private String remark;
}